<?php
/* @var $this NdkHealthController */
/* @var $model NdkHealth */
?>

<?php
$this->breadcrumbs=array(
	'Ndk Healths'=>array('index'),
	'View',
);

$this->menu=array(
	array('label'=>'List NdkHealth', 'url'=>array('index')),
	array('label'=>'Manage NdkHealth', 'url'=>array('admin')),
);
?>

<br/>
<div class="row">
<div class="col-md-6">
<div class="alert alert-success fade in">
<i class="icon-remove close" data-dismiss="alert"></i>
<strong>Lihat!</strong>
Ganti Kartu.
</div>
</div>
</div>

<a href="<?php echo Yii::app()->createUrl('gantiKartu/admin'); ?>" class="btn btn-sm btn-primary">Kembali</a><br /><br />

<br />


<?php $this->widget('zii.widgets.CDetailView',array(
    'htmlOptions' => array(
        'class' => 'table table-striped table-condensed table-hover',
    ),
    'data'=>$model,
    'attributes'=>array(
    	array(
			'label'=>'No Nota',
			'value'=>$model->posting=='1' ? '' : $model->nota_no,
			),
    	array(
			'label'=>'Klien',
			'value'=>$model->getKlien($model->reg_policy_id,$model->type_reg_policy),
		),
    	array(
			'label'=>'No Polis',
			'value'=>$model->getNoPolis($model->reg_policy_id,$model->type_reg_policy),
		),
		array(
			'label'=>'Periode Polis',
			'value'=>$model->getPeriodePolis($model->reg_policy_id,$model->type_reg_policy),
			),
		array(
			'label'=>'Biaya Kartu',
			'value'=>number_format($model->biaya_kartu,0,',','.'),
			),
		array(
			'label'=>'Materai Agra',
			'value'=>number_format($model->stamp_duty,0,',','.'),
			),
		array(
			'label'=>'Materai Asuransi',
			'value'=>number_format($model->stampduty_asuransi,0,',','.'),
			),
		array(
			'label'=>'Diskon Agra',
			'value'=>number_format($model->discount,0,',','.'),
			),
		array(
			'label'=>'Diskon Asuransi',
			'value'=>number_format($model->diskon_asuransi,0,',','.'),
			),

	),
)); ?>

